class User < ActiveRecord::Base
  has_many :microposts
  validates :name, length: {minimum: 5, maximum: 5}, allow_blank: false
end
